Sub-sampling phase-locked loop

ABSTRACT

A sub-sampling phase-locked loop is described, which comprises a digital-to-time converter, a sampler module, an interpolator, and a voltage controlled oscillator. The digital-to-time converter is configured to provide a first delay signal (S DLY1 ) at a first point (t 1 ) in time and a second delay signal (S DLY2 ) at a second point in time (t 2 ). The sampler module is configured to provide a first sample (S 1 ) of the oscillator output signal (S OUT ) at the first point in time (t 1 ) and a second sample (S 2 ) of the oscillator output signal (S OUT ) at the second point in time (t 2 ). The interpolator is configured to provide a sampler signal (S SAMPL ) by interpolating the first sample (S 1 ) and the second sample (S 2 ). The voltage controlled oscillator is configured to control the oscillator output signal (S OUT ) based on the sampler signal (S SAMPL ).

CROSS-REFERENCE TEMPLATES

This application is a continuation of International application No. PCT/EP2015/051676, filed on Jan. 28, 2015, the disclosure of which is hereby incorporated by reference in its entirety.

TECHNICAL FIELD

Embodiments of the present invention relate to a sub-sampling phase-locked loop. Furthermore, the embodiments of the present invention also relate to a corresponding method and a computer program.

BACKGROUND

The phase-locked loop (PLL) is an important part of radio frequency (RF) and millimeter-wave (MW) radio transmitters, as well as in test instruments and clock generators. The PLL generates a signal whose frequency is a multiple N of a reference frequency. One important figure of merit of a PLL is its spectral purity, quantified in phase noise and spurious content. Several PLL architectures have been presented in the last decades. One of the best performing PLLs regarding phase noise is the sub-sampling PLL.

A sub-sampling PLL (SS-PLL) is a feedback system, with an input reference clock with a period T, a sampler, a forward loop function and a voltage controlled oscillator (VCO). Assuming that the wanted frequency is an integer N times the reference frequency, i.e., every N'th VCO zero-crossing will coincide with a positive reference edge. At every multiple of the reference period T, the sinusoidal output of the VCO should cross zero. A small error in the VCO frequency, leads to a voltage error. It is this error voltage that is captured by the sampler.

The output of the sampler is usually configured to control a charge-pump consisting of two current sources, one with a fixed current and one with a current that can be modulated. The current sources are simultaneously connected to the output during a short pulse. The output current of the charge-pump is normally integrated and filtered by a loop-filter and then controls the output frequency of the VCO.

If the output frequency of the VCO is slightly too low, the sampler will sample the VCO sinusoid earlier in its cycle, at a lower voltage. This increases the net output current of the charge-pump. The LPF (Low Pass Filter) output voltage is increased and the VCO frequency is increased. The opposite happens if the VCO frequency is too high. This feedback loop keeps the VCO frequency at the desired multiple of the reference frequency.

Since the sampler can capture any VCO edge, a sub-sampling PLL has a small lock range. To circumvent this, a typical SS-PLL has an additional coarse locking loop. The SS-PLL loop is accompanied by a parallel traditional PLL loop as is known from conventional solutions.

The above described SS-PLL is limited to integer-N operation. A fractional-N sub-sampling PLL (SSF-PLL) can be implemented by introducing a controllable digital-to-time converter (DTC) in the reference input path. The principle behind the SSF-PLL is to delay the positive reference edge such that it coincides with the (ideal) zero-crossings of the VCO output. When the delay is more than one VCO period the previous VCO zero-crossing is sampled instead. This leads to a saw-tooth shaped delay of the reference clock.

The delay of the DTC is set in multiples of t_(D). The ideal VCO zero-crossing will in most cases not coincide with this delay. This will lead to a so called quantization error on the sampled voltage. The sampled voltage will either be too low or too high.

The limited resolution of the DTC introduces a voltage error at the output of the sampler. This will introduce spectral degradation of the PLL output. Due to the deterministic, ramp-like shape of the DTC delay, the degradation will mostly be in the form of spurious tones. Increasing the resolution is therefore of utmost importance.

SUMMARY

An objective of the embodiments of the present invention is to provide a solution which mitigates or solves the drawbacks and problems of conventional solutions.

Another objective of the embodiments of the present invention is to provide a sub-sampling phase-locked loop with which the problem with limited resolution of digital-to-time converters is at least reduced.

An “or” in this description and the corresponding claims is to be understood as a mathematical OR which covers “and” and “or”, and is not to be understand as an XOR (exclusive OR).

The above objectives are fulfilled by the subject matter of the independent claims. Further advantageous implementation forms of the embodiments of the present invention can be found in the dependent claims.

According to a first aspect of the invention, the above mentioned and other objectives are achieved with a sub-sampling phase-locked loop comprising a digital-to-time converter, a sampler module, an interpolator, and a voltage controlled oscillator. The digital-to-time converter is configured to provide a first delay signal S_(DLY1) at a first point t₁ in time and a second delay signal S_(DLY2) at a second point in time t₂, wherein the first point in time t₁ is before a first ideal sampling instant for an oscillator output signal S_(OUT) and the second point in time t₂ is after a second ideal sampling instant for the oscillator output signal S_(OUT). The sampler module is configured to provide a first sample S₁ of the oscillator output signal S_(OUT) at the first point in time t₁ based on the first delay signal S_(DLY1) and a second sample S₂ of the oscillator output signal S_(OUT) at the second point in time t₂ based on the second delay signal S_(DLY2). The interpolator is configured to provide a sampler signal S_(SAMPL) by interpolating the first sample S₁ and the second sample S₂. The voltage controlled oscillator is configured to control the oscillator output signal S_(OUT) based on the sampler signal S_(SAMPL).

Increasing the resolution of the digital-to-time converter, DTC, in a sub-sampling phase-locked loop according to the prior art is difficult due to various implementation related reasons. The goal of the proposed invention is to reduce the impact of the limited DTC resolution.

The effect achieved by the features of the sub-sampling phase-locked loop according to the first aspect of the invention can be compared to the effect as achieved by increasing the resolution of the DTC. It is, however, easier to accomplish the above mentioned effect on the circuit level than to increase the resolution of the DTC. The result of using the proposed concept is increased spectral purity of the SSF-PLL, with lower phase noise and spurious tones. Thus, a main advantage of embodiments of the present invention is that it provides said results in a way that is easier to implement, i.e., instead of sampling at the ideal sampling instant, the sample at the ideal sampling instant is calculated by interpolation between the first sample and the second sample. Thus, it is not necessary to improve the resolution of the DTC to achieve a better sampling.

The first ideal sampling instant may be the same as the second ideal sampling instant. However it is of course also possible that the second ideal sampling instant is different from the first ideal sampling instant. The interpolator may be provided in many different ways known per se to persons skilled in the art.

In a first possible implementation form of a sub-sampling phase-locked loop according to the first aspect, the digital-to-time converter further is configured to receive a reference signal S_(REF) and a control signal, wherein the control signal defines a factor between a desired frequency of the oscillator output signal S_(OUT) and a frequency of the reference signal S_(REF). The digital-to-time converter is further configured to produce a converter signal S_(C) defining possible points in time for sampling and to provide the first delay signal S_(DLY1) and the second delay signal S_(DLY2) based on the converter signal S_(C), the reference signal S_(REF) and the control signal.

An advantage of this first possible implementation form is that the reference signal S_(REF) and the control signal may come from exterior sources. This makes the sub-sampling phase-locked loop more versatile.

In a second possible implementation form of a sub-sampling phase-locked loop according to the first implementation form of the first aspect, the digital-to-time converter is further configured to determine the first ideal sampling instant and the second ideal sampling instant based on the control signal and the reference signal S_(REF).

An advantage of this second possible implementation form is that the sub-sampling phase-locked loop becomes easier to implement than if the ideal sampling instants were to be determined in another way.

In a third possible implementation form of a sub-sampling phase-locked loop according to any of the first or second possible implementation forms of the first aspect or to the sub-sampling phase-locked loop as such, the sub-sampling phase-locked loop further comprises a forward transfer function module configured to filter the sampler signal S_(SAMPL) to provide a filtered sampler signal S_(FILT). The voltage controlled oscillator is further configured to control the oscillator output S_(OUT) signal using the filtered sampler signal S_(FILT).

The forward transfer function module preferably is a low pass filter, but it is possible to use also other forward transfer functions. An advantage of this third possible implementation form is that by filtering the sampler signal the loop dynamics of the sub-sampling phase-locked loop are improved. Furthermore, the filtering limits the amount of reference frequency energy (ripple) appearing at the voltage controlled oscillator. Such ripple may produce undesired FM sidebands.

In a fourth possible implementation form of a sub-sampling phase-locked loop according to any of the previously described possible implementation forms of the first aspect or to the sub-sampling phase-locked loop as such, the sampler module comprises a first sampler, and a second sampler. The first sampler is configured to provide the first sample S₁ based on the first delay signal S_(DLY1), and the second sampler is configured to provide the second sample S₂ based on the second delay signal S_(DLY2).

An advantage of this fourth possible implementation form is that each sampler only has to provide one sample. This makes the implementation of the samplers easier. It is of course also possible to have only one sampler, but this requires some storage unit for the first sample while the second sample is taken.

In a fifth possible implementation form of a sub-sampling phase-locked loop according to any of the previously described possible implementation forms of the first aspect or to the sub-sampling phase-locked loop as such, the interpolator is further configured to interpolate the first sample S₁ and the second sample S₂ using the formula: S _(SAMPL)=(1−f)×S ₁ +f×S ₂ wherein f is an interpolation factor having a value in the interval 0-1.

It is possible to use other formulas for the interpolation of the first and second samples. However, as the samples preferably are taken close in time around a zero crossing for the oscillator output signal the assumption that the oscillator output signal is a straight line is a very good approximation. Thus, the formula above gives a good interpolation result. It is of course possible to use another formula in case, for some reason, the oscillator output signal cannot be approximated as a straight line. An advantage of this fifth possible implementation form is that it is relatively easy to implement while it at the same time gives a good result.

In a sixth possible implementation form of a sub-sampling phase-locked loop according to the fifth possible implementation form of the first aspect or to the sub-sampling phase-locked loop as such, the interpolator comprises a first adjustable capacitor device, and a second adjustable capacitor device. The interpolator is further configured to set the capacitance value of the first adjustable capacitor device to (1−f)×C and to store the first sample S₁ in the first adjustable capacitor device. The interpolator is further configured to set the capacitance value of the second adjustable capacitor device to f×C and to store the second sample S₂ in the second adjustable capacitor device, wherein C is the maximum capacitance value of the first adjustable capacitor device and the maximum capacitance value of the second adjustable capacitor device. The interpolator is further configured to provide the sampler signal S_(SAMPL) by connecting the first adjustable capacitor device in parallel with the second adjustable capacitor device.

An advantage of this sixth possible implementation form is that it is relatively easy to implement. Also, continuously adjustable capacitors are readily available. In case it is acceptable to have the capacitance value adjustable in steps the adjustable capacitors may be implemented in a large number of ways.

In a seventh possible implementation form of a sub-sampling phase-locked loop according to the sixth possible implementation form of the first aspect, the first adjustable capacitor device comprises M number of engagable unit-sized capacitors and the second adjustable capacitor device comprises M number of engagable unit-sized capacitors, wherein M≥1. The interpolator is further configured to engage M−m engagable unit-sized capacitors in the first adjustable capacitor device, wherein M≥m. The interpolator is further configured to engage m engagable unit-sized capacitors in the second adjustable capacitor device, so that the capacitance of the first adjustable capacitor device is (M−m)×C_(CAP) and the capacitance of the second adjustable capacitor device is m×C_(CAP), wherein C_(CAP) is the capacitance of each unit-sized capacitor.

An advantage of this seventh possible implementation form is that it is easier to implement an adjustable capacitor with a number of engagable unit-sized capacitors. Such engagable unit-sized capacitors may easily be integrated on an integrated circuit.

In an eighth possible implementation form of a sub-sampling phase-locked loop according to the fifth possible implementation form of the first aspect, the interpolator comprises a first input configured to receive the first sample S₁, a second input configured to receive the second sample S₂, M number of resistors connected in series between the first input and the second input, wherein M≥2, and wherein the M resistors are connected with conductors, and an interpolator output. The interpolator is further configured to connect the interpolator output to any one of the conductors, the first input or the second input, so as to provide the sampler signal S_(SAMPL) on the interpolator output.

This eighth possible implementation form of a sub-sampling phase-locked loop according to the first aspect of the invention is an alternative to the seventh implementation form using capacitors as described above. Depending on the application it might be advantageous to use resistors instead of capacitors.

In an ninth possible implementation form of a sub-sampling phase-locked loop according to any of the first to the fourth possible implementation form of the first aspect or to the sub-sampling phase-locked loop as such, the sub-sampling phase-locked loop further comprises an analogue-to-digital converter module configured to provide a digital signal S_(D) by converting a difference between the first sample S₁ and the second sample S₂, and wherein the interpolator further is configured to interpolate the digital signal S_(D) so as to provide the sampler signal S_(SAMPL).

Digital interpolation is a technique known per se by persons skilled in the art and will therefore not be described in detail here. Primarily, digital interpolation is an alternative to the above described interpolation techniques. An advantage of this ninth possible implementation form of a sub-sampling phase-locked loop according to the first aspect of the invention is that digital interpolation might provide a more robust result.

In a tenth possible implementation form of a sub-sampling phase-locked loop according to any of the previously described possible implementation forms of the first aspect or to the sub-sampling phase-locked loop as such, the first ideal sampling instant is different from the second ideal sampling instant.

An advantage of this tenth possible implementation form is that the time between the samples becomes larger. This enables a single digital-to-time converter to be used, without the need for the digital-to-time converter to be able to send out two delay signals with a very short time between. Furthermore, it is also easier to implement a sub-sampling phase-locked loop according to the first aspect of the invention with only one sampler in case the first ideal sampling instant is different from the second ideal sampling instant.

In an eleventh possible implementation form of a sub-sampling phase-locked loop according to the tenth possible implementation form of the first aspect, the first ideal sampling instant and the second ideal sampling instant are in consecutive periods of the reference signal S_(REF).

An advantage of this eleventh possible implementation form is that this gives the best interpolation result in case the first ideal sampling instant is different from the second ideal sampling instant.

According to a second aspect of the invention, the above mentioned and other objectives are achieved with a method comprising the steps of providing a first delay signal S_(DLY1) at a first point t₁ in time and a second delay signal S_(DLY2) at a second point in time t₂, wherein the first point in time t₁ is before a first ideal sampling instant for the oscillator output signal S_(OUT) and the second point in time t₂ is after a second ideal sampling instant for the oscillator output signal S_(OUT). The method further comprises the steps of providing at least a first sample S₁ of the oscillator output signal S_(OUT) at the first point in time t₁ based on the first delay signal S_(DLY1) and a second sample S₂ of the oscillator output signal S_(OUT) at the second point in time t₂ based on the second delay signal S_(DLY2). The method further comprises the steps of providing a sampler signal S_(SAMPL) by interpolating the first sample S₁ and the second sample S₂, and controlling the oscillator output signal S_(OUT) based on the sampler signal S_(SAMPL).

The effect achieved by the features of the method according to the second aspect of the invention can be compared to the effect as achieved by decreasing the time between the first point in time t₁ and the second point in time t₂. It is, however, easier to perform the method according to the second aspect of the invention than it is to decrease the time between the first point in time t₁ and the second point in time t₂. The result of using the proposed concept is increased spectral purity of the oscillator output signal S_(OUT), with lower phase noise and spurious tones. Thus, a main advantage of embodiments is that they provide said results in a way that is easier to implement.

According to a third aspect of the invention, the above mentioned and other objectives are achieved with a computer program with a program code for performing a method according to the second aspect of the invention when the computer program runs on a computer.

SHORT DESCRIPTION OF THE DRAWINGS

FIG. 1 shows schematically a sub-sampling phase-locked loop according to an embodiment of the present invention.

FIG. 2 shows a sub-sampling phase-locked loop according to a further embodiment of the present invention comprising two separate DTCs.

FIG. 3 is a timing diagram showing the relationship between the reference signal S_(REF), the oscillator output signal S_(OUT), and the converter signal S_(C) from the DTC.

FIG. 4 shows schematically an interpolator and a sampler according to an embodiment of the invention.

FIG. 5 shows an interpolator and a sampler according to an embodiment of the present invention, which interpolator comprises discrete capacitances.

FIG. 6 shows an interpolator and a sampler according to a further embodiment of the present invention, which interpolator comprises a resistive ladder.

FIG. 7 shows an interpolator and a sampler according to a further embodiment of the present invention, which interpolator is configured to work in the digital domain.

FIG. 8 shows a sub-sampling phase-locked loop according to a further embodiment of the present invention, which sub-sampling phase-locked loop is configured to interpolate two consecutive samples.

FIG. 9 is a timing diagram showing the relationship between the reference signal S_(REF), the oscillator output signal S_(OUT), and the converter signal S_(C) from the DTC.

FIG. 10 shows a charge-pump which may be used in sub-sampling phase-locked loops according to embodiments of the invention.

FIG. 11 shows a sub-sampling phase-locked loop connected with a coarse locking phased locked loop.

FIG. 12 shows a charge-pump based DTC which may be used in a sub-sampling phase-locked loop according to an embodiment of the invention.

FIG. 13 illustrates a method according to an embodiment of the invention.

DETAILED DESCRIPTION

In the following detailed description the same reference numeral will be used for the corresponding feature in the different drawings.

FIG. 1 shows schematically a sub-sampling phase-locked loop 100 according to an embodiment of the present invention. The sub-sampling phase-locked loop 100 comprises a digital-to-time converter 102, a sampler module 104, an interpolator 106, and a voltage controlled oscillator 108. The digital-to-time converter 102 is configured to provide a first delay signal S_(DLY1) at a first point t₁ in time and a second delay signal S_(DLY2) at a second point in time t₂. The first point in time t₁ is before a first ideal sampling instant for an oscillator output signal S_(OUT) and the second point in time t₂ is after a second ideal sampling instant for the oscillator output signal S_(OUT). The first ideal sampling instant may according to an embodiment be the same sampling instant as the second ideal sampling instant. The sampler module 104 is configured to provide a first sample S₁ of the oscillator output signal S_(OUT) at the first point in time t₁ based on the first delay signal S_(DLY1) and a second sample S₂ of the oscillator output signal S_(OUT) at the second point in time t₂ based on the second delay signal S_(DLY2). The interpolator 106 is configured to provide a sampler signal S_(SAMPL) by interpolating the first sample S₁ and the second sample S₂. Thus, the sampler signal is an interpolation taking into account a first time difference between the first point in time t₁ and the first ideal sampling instant and a second time difference between the second point in time t₂ and the second ideal sampling instant. The first and second ideal sampling instants are at zero crossings for an ideal signal/desired signal.

According to an embodiment the interpolation is linear. Thus, the sample taken closest to the ideal sampling instant is given most weight in the interpolation. In this way a sampler signal is provided which corresponds to a sampler signal based on a sample taken at the ideal sampling instant. The voltage controlled oscillator 108 is configured to control the oscillator output signal S_(OUT) based on the sampler signal S_(SAMPL). In this way the frequency of the voltage controlled oscillator is controlled to the desired frequency.

FIG. 2 shows a sub-sampling phase-locked loop 100 according to a further embodiment of the present invention wherein the digital-to-time converter comprises two separate digital-to-time converter modules (DTC) 162, 162′. The sub-sampling phase-locked loop 100 according to the shown embodiment also comprises a modulator 154 comprising an input 156 and an output 158. The modulator 154 is configured to receive a control signal N_(f) on the input and to provide control signals for the DTCs 162, 162′, on the output 158. The control signal N_(f) defines a factor between a desired frequency of the oscillator output signal S_(OUT) and a frequency of the reference signal S_(REF). The modulator 154 is configured to provide modulator signals on its output 158 for controlling the digital-to-time converter modules. Each digital-to-time converter 162, 162′, comprises a first input 150, 150′, and a second input 152, 152′. Each digital-to-time converter module 162, 162′ is configured to receive a reference signal S_(REF) on said first input 150, 150′, and a modulator signal from the output 158 of the modulator 154 on the second input 152, 152′.

Each delay signal produced by the DTCs 162, 162′ defines the point in time when a sample of the oscillator output signal S_(OUT) is to be taken by a downstream sampler. The DTCs 162, 162′, are configured to produce a converter signal S_(C) defining possible points in time for sampling and to provide the first delay signal S_(DLY1) and the second delay signal S_(DLY2) based on the converter signal S_(C), the reference signal S_(REF) and the control signal N_(f).

The sub-sampling phase-locked loop 100 in FIG. 2 further comprises a first sampler 116 with an input 170 for the oscillator output signal S_(OUT), a delay signal input 172 for the first delay signal S_(DLY1) and an output 174 for the first sample S₁. The sub-sampling phase-locked loop 100 in FIG. 2 further comprises a second sampler 130 with an input 176 for the oscillator output signal S_(OUT), a delay signal input 178 for the second delay signal S_(DLY2) and an output 180 for the second sample S₂. The first sampler 116 is configured to sample the oscillator output signal S_(OUT) at the first point in time t₁ based on the first delay signal S_(DLY1) to derive the first sample S₁. The second sample 130 is configured to sample the oscillator output signal S_(OUT) at the second point in time t₂ based on the second delay signal S_(DLY2) to derive the second sample S₂. The first sampler 116 and second sampler 130 form together a possible implementation for the sampler module 104 shown in FIG. 1. The first sampler 116 and the second sampler 130 each comprise means, such as a capacitor, for measuring and storing a voltage. Possible implementations of samplers are shown in FIG. 4 and FIG. 5.

The sub-sampling phase-locked loop 100 further comprises an interpolator 106 with a first input 182 for the first sample from the first sampler 116, a second input 184 for the second sample from the second sampler and an output 186. The interpolator 106 is configured to interpolate between the samples to produce the sampler signal S_(SAMPL) which is provided on the output 186 of the interpolator 106. The sub-sampling phase-locked loop further comprises a filter 188 comprising an input 190 connected to the output of the interpolator 106 and an output 192. The filter 188 is configured to low-pass filter the sampler signal S_(SAMPL). Furthermore, the sub-sampling phase-locked loop comprises a voltage controlled oscillator 108 which comprises an input 194 coupled to the output of the filter and an output 266 for the oscillator output signal S_(OUT). The voltage controlled oscillator is configured to control the oscillator output signal S_(OUT) based on the filtered sampler signal. An intermediate circuit called a charge-pump 224 may be arranged between the interpolator 106 and the filter 188 as is indicated by the dashed line. The charge-pump 224 functions as a matching circuit between the interpolator 106 and the filter 188.

FIG. 3 is a timing diagram showing the relationship between the reference signal S_(REF), the oscillator output signal S_(OUT), and the converter signal S_(C) from the DTC. FIG. 3 also shows a small part of the oscillator output signal S_(OUT) and the points in time for sampling t₁, t₂. A zero crossing 164 from negative voltage to positive voltage for the oscillator output signal S_(OUT) is shown together with a zero crossings 166 from negative voltage to positive voltage for the reference signal S_(REF). Both zero crossings could be used as ideal sampling instants. In this example it should be understood that the zero crossings 164 correspond to the mentioned ideal sampling instants. S₁ and S₂ are the first and second samples taken at the times t₁ and t₂. As is shown in FIG. 3 the first point in time t₁ is before the zero crossing 164 of the oscillator output signal S_(OUT) and the second point in time t₂ is after the zero crossing 164 of the oscillator output signal S_(OUT). The digital-to-time converter or converters provide(s) a first delay signal S_(DLY1) (e.g. a rising or falling edge) at the first point in time t₁ and a second delay signal S_(DLY2) (e.g. a rising or falling edge) at the second point in time t₂.

Assuming that the oscillator output signal S_(OUT) and the reference signal S_(REF) are aligned at t=0, then, for a fractional ratio N=N_(i)+N_(f), 0≤N_(f)<1, the N_(i)'th oscillator output signal zero-crossing happens slightly before the reference edge. The (N_(i)+1)'th zero-crossing comes slightly after the reference edge. The time difference T_(E) is given by: T _(E)=(1−N _(f))×t _(VCO) where t_(VCO) is the period of the oscillator output signal.

It is also convenient to express this delay in number of oscillator output signal cycles, or: N _(E)=1−N _(f)

Note that these delays are constants for any given output frequency. The delay at the k'th reference cycle is given by: n _(E)[k]=k×N _(E) =k×(1−N _(f)) t _(E)[k]=n _(E)[k]×t _(VCO) =k×(1−N _(f))×t _(VCO)

The principle behind the sub-sampling phase-locked loop is to delay the positive reference edge such that it coincides with the ideal zero-crossings of the oscillator output signal S_(OUT). When the delay is more than one period of the oscillator output signal S_(OUT) (n_(E)[k]≥1), the previous S_(OUT) zero-crossing is sampled instead. This leads to a saw-tooth shaped delay of the reference signal S_(REF).

A modified expression for the delay n_(E)[k] is given by n _(E)[k]=(k×(1−N _(f)))mod 1 where mod is the modulus operator.

The digital-to-time converter can be implemented in several ways, which are known to persons skilled in the art and will not be discussed in detail here. FIG. 4 shows schematically an interpolator-sampler module 400 comprising a combination of an interpolator 106 and a sampler according to an embodiment of the invention. The oscillator output signal S_(OUT) is sampled twice using a delay

${t_{1} = {{\Delta\;{t \times \left\lfloor \frac{t_{E}}{\Delta\; t} \right\rfloor}\mspace{14mu}{and}\mspace{14mu} t_{2}} = {\Delta\;{t \times \left\lceil \frac{t_{E}}{\Delta\; t} \right\rceil}}}},{i.e.},$ one sample before and one sample after the ideal sampling instant. Δt is the resolution of the converter signal S_(C) and is thus the smallest possible time between two consecutive samples of the oscillator output signal.

The interpolator-sampler module 400 comprises a first adjustable capacitor device 132 and a second adjustable capacitor device 134. The interpolator-sampler module 400 further comprises a first switch 196 arranged between the first input and the first adjustable capacitor device 132 and a second switch 198 arranged between the second input and the second adjustable capacitor device 134. The interpolator-sampler module 400 further comprises a third switch 200 arranged between the first adjustable capacitor device and the output of the interpolator-sampler module 400 and a fourth switch 202 arranged between the second adjustable capacitor device and the output 186. The interpolator-sampler module 400 further comprises a controller 168 which is configured to adjust the capacitance of the adjustable capacitor devices 132, 134, and the switches 196, 198, 200 and 202. The first switch 196 and the first adjustable capacitor device 132 constitute a first sampler 116. The second switch 198 and the second adjustable capacitor device 134 constitute a second sampler 130. The switches 200 and 202 together with the node at the outputs of the switches 200, 202, constitute an interpolator 106. During a track phase, the first switch 196 and the second switch 198 are closed and the third switch 200 and the fourth switch 202 are open. The voltage over each one of the first adjustable capacitor device 132 and the second adjustable capacitor device 134 tracks the input voltage (the voltage of the oscillator output signal S_(OUT)). The first adjustable capacitor device 132 holds a charge of Q₁(t)=S_(OUT)(t)×(1−f)×C, 0≤f<1, wherein (1−f)×C is the capacitance of the first adjustable capacitor device 132. Similarly, the second adjustable capacitor device holds a charge of Q₂(t)=S_(OUT)(t)×f×C, wherein f×C is the capacitance of the second adjustable capacitor device 134.

During the hold phase, the first switch 196 and the second switch 198 are opened. The first switch 196 is opened at t=t₁, (the first point in time indicated by the first delay signal S_(DLY1)) and the second switch 198 is opened at t=t₂ (the second point in time indicated by the second delay signal S_(DLY2)). At t=t₃>t₂>t₁, the third switch and the fourth switch are closed simultaneously. The total charge is now distributed over the two capacitors, whose total capacitance is C. The voltage therefore becomes:

$S_{SAMPL} = {\frac{Q_{tot}}{C_{tot}} = {\frac{{{S_{OUT}\left( t_{2} \right)} \times f \times C} + {{S_{OUT}\left( t_{1} \right)} \times \left( {1 - f} \right) \times C}}{C} = {{\left( {1 - f} \right) \times S_{1}} + {{f \times S_{2}}.}}}}$ Using this technique, the voltages are interpolated by the factor f.

FIG. 5 shows schematically a further possible interpolator-sampler module 500 comprising a first adjustable capacitor device 132 and a second adjustable capacitor device 134. The first adjustable capacitor device 132 comprises M number of engagable unit-sized capacitors 146, and the second adjustable capacitor device 134 comprises M number of engagable unit-sized capacitors 146, wherein M≥1. The interpolator-sampler module 500 is further configured to engage M−m engagable unit-sized capacitors 146 in the first adjustable capacitor device 132, wherein M≥m, and to engage m engagable unit-sized capacitors 146 in the second adjustable capacitor device 134, so that the capacitance of the first adjustable capacitor device 132 is (M−m)×C_(CAP) and the capacitance of the second adjustable capacitor device 134 is m×C_(CAP), wherein C_(CAP) is the capacitance of each unit-sized capacitor 146.

The interpolator-sampler module 500 further comprises a first switch 196 arranged between the first input and the first adjustable capacitor device 132 and a second switch 198 arranged between the second input and the second adjustable capacitor device 134. The interpolator-sampler module 500 further comprises a third switch 200 arranged between the first adjustable capacitor device and the output of the interpolator 106 and a fourth switch 202 arranged between the second adjustable capacitor device and the output 186. The first switch 196 and the first adjustable capacitor device 132 constitute a first sampler 116. The second switch 198 and the second adjustable capacitor device 134 constitute a second sampler 130. The switches 200 and 202 together with the node at the outputs of the switches 200, 202, constitute an interpolator 106. The interpolator-sampler module 500 further comprises a controller 168 which is configured to adjust the capacitance of the adjustable capacitor devices 132, 134, and the switches 196, 198, 200 and 202. The adjustable capacitor according to this embodiment is relatively uncomplicated to implement. The function of the interpolator 106 and sampler according to this embodiment is the same as has been described in relation to the embodiment of FIG. 4. The controller 168 may be integrated into the interpolator-sampler module 500, may be a separate unit or may be a computer program executed on a central control unit.

FIG. 6 shows schematically a further possible interpolator-sampler module 600 comprising an interpolator 106 and a sampler module 104 according to a further embodiment of the present invention, which interpolator 106 comprises a resistive ladder. The interpolator-sampler module 600 comprises a first sampler 116 with an input 170 for the oscillator output signal S_(OUT), a delay signal input 172 for the first delay signal S_(DLY1) and an output 174 for the first sample S₁. The interpolator-sampler module 600 further comprises a second sampler 130 with an input 176 for the oscillator output signal S_(OUT), a delay signal input 178 for the second delay signal S_(DLY2) and an output 180 for the second sample S₂. A first buffer amplifier 212 is connected to the output 174 of the first sampler 116 and a second buffer amplifier 214 is connected to the output 180 of the second sampler 130 to provide a high-ohmic load for each sampler.

The interpolator 106 comprises a first input 136 configured to receive the first sample S₁ and a second input 138 configured to receive the second sample S₂. The interpolator 106 further comprises M number of resistors 148 connected in series between the first input 136 and the second input 138, wherein M≥2, and wherein the M resistors 148 are connected with conductors 144, and an interpolator output 142. The interpolator 106 is further configured to connect the interpolator output 142 to any one of the conductors 144, the first input 136 or the second input 138, so as to provide the sampler signal S_(SAMPL) on the interpolator output 142. The interpolator-sampler module 600 further comprises a controller which is configured to control to which conductor 144 the output is to be connected. The controller may alternatively be part of a central control unit or processor. The output voltage is taken over the m'th resistor, giving an output voltage of:

$S_{SAMPL} = {{S_{1} + {\frac{m \times R}{M \times R} \times \left( {S_{2} - S_{1}} \right)}} = {{\left( {1 - \frac{m}{M}} \right) \times S_{1}} + {\frac{m}{M} \times S_{2}}}}$

FIG. 7 shows an interpolator-sampler module 700 according to a further embodiment of the present invention. The interpolator-sampler module 700 comprises a first sampler 116 with an input 170 for the oscillator output signal S_(OUT), a delay signal input 172 for the first delay signal S_(DLY1) and an output 174 for the first sample S₁. The interpolator-sampler module 700 further comprises a second sampler 130 with an input 176 for the oscillator output signal S_(OUT), a delay signal input 178 for the second delay signal S_(DLY2) and an output 180 for the second sample S₂. The interpolator-sampler module 700 in FIG. 7 also comprises a variable gain amplifier 216 which is connected to the output 174 of the first sampler 116 and the output 180 of the second sampler 130. The interpolator-sampler module 700 comprises a variable gain amplifier 216 an analogue-to-digital converter 217, a gain adjustment block 218 and a digital interpolator 106 configured to work in the digital domain. The difference between the output of the first sampler 116 and the output of the second sampler 130, i.e., the difference between the first sample S₁ and the second sample S₂, is amplified by the variable gain amplifier VGA. The amplified signal is then converted to a digital signal using the analogue-to-digital converter ADC. The gain adjustment block 218 forms a feedback loop that adjusts the gain of the VGA such that the full range of the analogue-to-digital converter ADC is used. The output of the digital interpolator 220 is a digital word, and may be used as is or converted back to analogue again. In case a digital word is to be used to control the voltage controlled oscillator 108 the voltage controlled oscillator has to be adapted to be controlled by a digital word.

FIG. 8 shows a sub-sampling phase-locked loop 100 according to a further embodiment of the present invention, wherein the sub-sampling phase-locked loop 100 is configured to interpolate two consecutive samples. Thus, the first ideal sampling instant is different from the second ideal sampling instant. The sub-sampling phase-locked loop 100 comprises a digital-to-time converter module DTC 162. The sub-sampling phase-locked loop 100 according to the shown embodiment also comprises a modulator 154 comprising an input 156 and an output 158. The modulator 154 is configured to receive a control signal N_(f) on the input and to provide control signals for the DTC on the output 158. The control signal N_(f) defines a factor between a desired frequency of the oscillator output signal S_(OUT) and a frequency of the reference signal S_(REF). The modulator 154 is configured to provide modulator signals on its output 158 for controlling the digital-to-time converter module 162. The digital-to-time converter 162, comprises a first input 150, and a second input 152. The digital-to-time converter module 162 is configured to receive a reference signal S_(REF) on said first input 150, and a modulator signal from the output 158 of the modulator 154 on the second input 152, the delay signal defining the point in time when a sample of the oscillator output signal is to be taken. The DTCs are configured to produce a converter signal S_(C) defining possible points in time for sampling and to provide the first delay signal S_(DLY1) and the second delay signal S_(DLY2) based on the converter signal S_(C), the reference signal S_(REF) and the control signal. The sub-sampling phase-locked loop 100 further comprises a sampler 116 with an input 170 for the oscillator output signal S_(OUT), a delay signal input 172 for the first delay signal S_(DLY1) and an output 174 for the first sample S₁ and the second sample S₂. The sub-sampling phase-locked loop 100 further comprises an analogue shift register 222 having a first cell C1 and a second cell C2. Each sample S₁, S₂, is injected into the cells C1, C2, of the analogue shift register 222, and the interpolation is performed between sample S₁=S[k] and S₂=S[k−1]. The delay at reference cycle k is d(k). The ideal delay at reference cycle k, expressed as number of DTC delays, is given by

${d_{i}\lbrack k\rbrack} = \frac{t_{E}\lbrack k\rbrack}{\Delta\; t}$ Since the DTC delays the input by an integer number of cycles, this number must be rounded to an integer. If the delay is rounded down on even cycles (k=0, 2, . . . ) and up on odd cycles (k=1, 3, . . . ), the samples S₁, S₂, will be alternating between being too low and too high. The voltage at each cycle can be expressed as:

${S_{OUT}\lbrack k\rbrack} = {{{S_{q}\lbrack k\rbrack} + {S_{e}\lbrack k\rbrack}} = {\left\lbrack {{\left( \frac{2 \cdot \pi}{t_{VCO}} \right) \times \left( {{d\lbrack k\rbrack} - {d_{i}\lbrack k\rbrack}} \right) \times \Delta}\; t} \right\rbrack + {S_{e}\lbrack k\rbrack}}}$

The term S_(q)[k] is the voltage due to DTC quantization. The term S_(e)[k] is the voltage due to VCO phase fluctuations. The later is the quantity we wish to sample. In the above equation, it is assumed that the sampler is operating in a small region around the zero-crossing of the VCO signal, such that it can be approximated as a linear function. The sub-sampling phase-locked loop 100 further comprises an interpolator 106 with a first input 182 for the first sample from the first cell C1, a second input 184 for the second sample from the second cell C2 and an output 186. The interpolator 106 is configured to interpolate between the samples to produce the sampler signal S_(SAMPL) which is provided on the output 186 of the interpolator 106. The sub-sampling phase-locked loop further comprises a filter 188 comprising an input 190 connected to the output of the interpolator 106 and an output 192. The filter 188 is configured to low-pass filter the sampler signal S_(SAMPL). Furthermore, the sub-sampling phase-locked loop comprises a voltage controlled oscillator 108 which comprises an input 194 coupled to the output of the filter and an output 266 for the oscillator output signal S_(OUT). The voltage controlled oscillator 108 is configured to control the oscillator output signal S_(OUT) based on the filtered sampler signal.

FIG. 9 is a timing diagram showing the relationship between the reference signal S_(REF), the oscillator output signal S_(OUT), and the converter signal S_(C) from the DTC. FIG. 9 shows two consecutive samples, one at t=(k−1)×T and one at t=k×T.

If we assume that S_(e)[k] does not change much from cycle to cycle, i.e., |S_(e)[k]−S_(e)[k−1]|<<|S_(q)[k]−S_(q)[k−1]|, sample S_(s)[k] and S_(s)[k−1] can be interpolated such that S_(q)[k] is removed and only S_(e)[k] remains. This assumption holds for a PLL, since the high frequency noise on S_(e)[k] is usually small. The interpolation factor is given by

${f\lbrack k\rbrack} = {{- \frac{S_{OUT}\left\lbrack {k - 1} \right\rbrack}{{S_{OUT}\lbrack k\rbrack} - {S_{OUT}\left\lbrack {k - 1} \right\rbrack}}} = \frac{{d_{i}\left\lbrack {k - 1} \right\rbrack} - {d\left\lbrack {k - 1} \right\rbrack}}{{d\lbrack k\rbrack} - {d_{i}\lbrack k\rbrack} - {d\left\lbrack {k - 1} \right\rbrack} + {d_{i}\left\lbrack {k - 1} \right\rbrack}}}$ The actual interpolation can be performed as described in previous sections, using a capacitive interpolator, a resistive interpolator or a digital interpolator.

FIG. 10 shows a charge-pump 224 which may be used in sub-sampling phase-locked loops according to embodiments of the invention as is shown, e.g., in FIG. 2. The charge-pump 224 comprises a first current source 226 with a fixed current (I_(U)), and a second current source 228 with a current that can be modulated (I_(D)+g_(m)×ν_(CTRL)). The charge pump also comprises an output 268. The current sources are simultaneously connected to the output 268 during a short pulse, and the net output current becomes I_(U)−I_(D)−g_(m)×ν_(CTRL). The duty-cycle of the output pulse sets the overall gain of the charge-pump 224. The charge-pump also comprises a first switch 270 between the first current source 226 and the output 268 and a second switch 272 between the second current source 228. The charge-pump 224 also comprises a pulser 274 which is configured to control the first switch 270 and the second switch 272.

FIG. 11 shows a circuit comprising a sub-sampling phase-locked loop connected with a coarse locking phased locked loop. The circuit comprises a sampler 232 with an input 234 for a reference signal S_(REF) and an input 262 for an oscillator output signal S_(OUT), and an output 258 for a sample S₁. The circuit further comprises a first charge pump 236 with an input 238 for the sample S₁ and an output 240 for a control current i_(CP). The circuit further comprises a loop filter 238 with an input 260 for the control current i_(CP), and an output 242 for a filtered control signal S_(CONTROL). The circuit further comprises a voltage controlled oscillator VCO with an input 264 for the filtered control signal S_(CONTROL), and an output 244 for the oscillator output signal S_(OUT). Since the sampler 232 can capture any VCO edge, not just the N'th edge, a sub-sampling PLL has a small lock range. To circumvent this, a typical SS-PLL has an additional coarse locking loop, as shown in FIG. 11. The circuit thus further comprises a divide-by-N-member 246, a phase-frequency detector PFD and an additional charge-pump 248. The output current of the second charge-pump 248 is added to that of the first charge-pump 236. This traditional PLL loop has a large locking range. To disable the coarse PLL loop once it has locked, a dead-zone is added to the PFD output such that for small phase differences, its output is zero. In possible further embodiments of the invention the described coarse locking phased locked loop may be used together with the above described embodiments of the sub-sampling phase-locked loop 100.

FIG. 12 shows a charge-pump based digital-to-time converter DTC 162 which may be used in a sub-sampling phase-locked loop according to an embodiment of the invention. The DTC 162 comprises a first input 150 for the reference signal S_(REF). The DTC 162 further comprises a current source 250, a number of capacitors C and switches 256 in a capacitor bank 252 and a logic buffer 254. When the reference clock S_(REF) goes high, the current source 250 charges the capacitor bank. When the threshold voltage of the logic buffer 254 is reached, the output signal of the DTC S_(DLY) transitions from low to high. The time it takes to charge the capacitor bank depends on the number of switches 256 that are closed. It is thereby possible, using a digital control, to set the delay in multiples of t_(D). Note that for successful operation of the SSF-PLL, t_(D) should be known.

FIG. 13 illustrates a method according to an embodiment of the invention. In a first step 202 a first delay signal S_(DLY1) is provided at a first point t₁ in time and a second delay signal S_(DLY2) is provided at a second point in time t₂. The first point in time t₁ is before a first ideal sampling instant for the oscillator output signal S_(OUT) and the second point in time t₂ is after a second ideal sampling instant for the oscillator output signal S_(OUT). In a second step 204, succeeding the first step providing 202, at least a first sample S₁ of the oscillator output signal S_(OUT) is provided at the first point in time t₁ based on the first delay signal S_(DLY1) and a second sample S₂ of the oscillator output signal S_(OUT) is provided at the second point in time t₂ based on the second delay signal S_(DLY2). In a third step 206 a sampler signal S_(SAMPL) is provided by interpolating the first sample S₁ and the second sample S₂. Finally, in a fourth step 208 the oscillator output signal S_(OUT) is controlled based on the sampler signal S_(SAMPL).

It is not necessary, as shown in FIG. 2, to use two DTCs. If a single DTC can output two consecutive reference edges, the two samplers may be clocked by these.

It is possible to interpolate more than two samples. This might have the added benefit of averaging differences in the step size of the DTC(s). This will increase the complexity of the interpolator.

Furthermore, any method according to the embodiments of the present invention may be implemented in a computer program, having code means, which when run by processing means causes the processing means to execute the steps of the method. The computer program is included in a computer readable medium of a computer program product. The computer readable medium may comprises of essentially any memory, such as a ROM (Read-Only Memory), a PROM (Programmable Read-Only Memory), an EPROM (Erasable PROM), a Flash memory, an EEPROM (Electrically Erasable PROM), or a hard disk drive.

Finally, it should be understood that the present invention is not limited to the embodiments described above, but also relates to and incorporates all embodiments within the scope of the appended independent claims. 

What is claimed is:
 1. A sub-sampling phase-locked loop comprising a digital-to-time converter, a sampler module, an interpolator, and a voltage controlled oscillator; wherein the digital-to-time converter is configured to provide a first delay signal (S_(DLY1)) at a first point (t₁) in time and a second delay signal (S_(DLY2)) at a second point in time (t₂), wherein the first point in time (t₁) is before a first ideal sampling instant for an oscillator output signal (S_(OUT)) and the second point in time (t₂) is after a second ideal sampling instant for the oscillator output signal (S_(OUT)), wherein the sampler module is configured to provide a first sample (S₁) of the oscillator output signal (S_(OUT)) at the first point in time (t₁) based on the first delay signal (S_(DLY1)) and a second sample (S₂) of the oscillator output signal (S_(OUT)) at the second point in time (t₂) based on the second delay signal (S_(DLY2)), wherein the interpolator is configured to provide a sampler signal (S_(SAMPL)) by interpolating the first sample (S₁) and the second sample (S₂), wherein the voltage controlled oscillator is configured to control the oscillator output signal (S_(OUT)) based on the sampler signal (S_(SAMPL)) wherein the first ideal sampling instant is different from the second ideal sampling instant.
 2. The sub-sampling phase-locked loop according to claim 1, wherein the digital-to-time converter further is configured to receive a reference signal (S_(REF)) and a control signal, the control signal defining a factor between a desired frequency of the oscillator output signal (S_(OUT)) and a frequency of the reference signal (S_(REF)); produce a converter signal (S_(C)) defining possible points in time for sampling; and provide the first delay signal (S_(DLY1)) and the second delay signal (S_(DLY2)) based on the converter signal (S_(C)), the reference signal (S_(REF)) and the control signal.
 3. The sub-sampling phase locked loop according to claim 2, wherein the digital-to-time converter further is configured to determine the first ideal sampling instant and the second ideal sampling instant based on the control signal and the reference signal (S_(REF)).
 4. The sub-sampling phase-locked loop according to claim 1, further comprising a forward transfer function module, configured to filter the sampler signal S_(SAMPL) to provide a filtered sampler signal (S_(FILT)), wherein the voltage controlled oscillator further is configured to control the oscillator output S_(OUT) signal using the filtered sampler signal (S_(FILT)).
 5. The sub-sampling phase-locked loop according to claim 1, wherein the sampler module comprises a first sampler, and a second sampler, wherein the first sampler is configured to provide the first sample (S₁) based on the first delay signal (S_(DLY1)), and wherein the second sampler is configured to provide the second sample (S₂) based on the second delay signal (S_(DLY2)).
 6. The sub-sampling phase-locked loop according to claim 1, wherein the interpolator further is configured to interpolate the first sample (S₁) and the second sample (S₂) using the formula: S _(SAMPL)=(1−f)×S ₁ +f×S ₂ wherein f is an interpolation factor having a value in the interval 0-1.
 7. The sub-sampling phase-locked loop according to claim 6, wherein the interpolator comprises a first adjustable capacitor device, and a second adjustable capacitor device, wherein the interpolator further is configured to set a capacitance value of the first adjustable capacitor device to (1−f)×C and to store the first sample S₁ in the first adjustable capacitor device, wherein the interpolator further is configured to set a capacitance value of the second adjustable capacitor device to f×C and to store the second sample S₂ in the second adjustable capacitor device, wherein C is both a maximum capacitance value of the first adjustable capacitor device and a maximum capacitance value of the second adjustable capacitor device, and wherein the interpolator further is configured to provide the sampler signal S_(SAMPL) by connecting the first adjustable capacitor device in parallel with the second adjustable capacitor device.
 8. The sub-sampling phase-locked loop according to claim 7, wherein the first adjustable capacitor device comprises M number of engagable unit-sized capacitors, and wherein the second adjustable capacitor device comprises M number of engagable unit-sized capacitors, wherein M≥1, wherein the interpolator further is configured to engage M-m engagable unit-sized capacitors in the first adjustable capacitor device, wherein M≥m, and wherein the interpolator further is configured to engage m engagable unit-sized capacitors in the second adjustable capacitor device, so that the capacitance of the first adjustable capacitor device is (M−m)×C_(CAP) and the capacitance of the second adjustable capacitor device is m×C_(CAP), wherein C_(CAP) is the capacitance of each unit-sized capacitor.
 9. The sub-sampling phase-locked loop according to claim 6, wherein the interpolator comprises a first input configured to receive the first sample (S₁); a second input configured to receive the second sample (S₂); M number of resistors connected in series between the first input and the second input, wherein M≥2, and wherein the M resistors are connected with conductors; an interpolator output, wherein the interpolator further is configured to connect the interpolator output to any one of the conductors, the first input, or the second input, so as to provide the sampler signal (S_(SAMPL)) on the interpolator output.
 10. The sub-sampling phase-locked loop according to claim 1, further comprising an analogue-to-digital converter module configured to provide a digital signal (S_(D)) by converting a difference between the first sample (S₁) and the second sample (S₂), and wherein the interpolator further is configured to interpolate the digital signal (S_(D)) to provide the sampler signal (S_(SAMPL)).
 11. The sub-sampling phase-locked loop according to claim 1, wherein the first ideal sampling instant and the second ideal sampling instant are in consecutive periods of the reference signal (S_(REF)).
 12. A method for controlling an oscillator output signal, the method comprising the steps of providing a first delay signal (S_(DLY1)) at a first point (t₁) in time and a second delay signal (S_(DLY2)) at a second point in time (t₂), wherein the first point in time (t₁) is before a first ideal sampling instant for the oscillator output signal (S_(OUT)) and the second point in time (t₂) is after a second ideal sampling instant for the oscillator output signal (S_(OUT)), providing at least a first sample (S₁) of the oscillator output signal (S_(OUT)) at the first point in time (t₁) based on the first delay signal (S_(DLY1)) and a second sample (S₂) of the oscillator output signal (S_(OUT)) at the second point in time (t₂) based on the second delay signal (S_(DLY2)), providing a sampler signal (S_(SAMPL)) by interpolating the first sample (S₁) and the second sample (S₂), and controlling the oscillator output signal (S_(OUT)) based on the sampler signal (S_(SAMPL)); wherein the first ideal sampling instant is different from the second ideal sampling instant.
 13. A non-transitory storage medium comprising a computer program that runs on a computer with a program code for performing a method comprising the steps of: providing a first delay signal (S_(DLY1)) at a first point (t₁) in time and a second delay signal (S_(DLY2)) at a second point in time (t₂), wherein the first point in time (t₁) is before a first ideal sampling instant for the oscillator output signal (S_(OUT)) and the second point in time (t₂) is after a second ideal sampling instant for the oscillator output signal (S_(OUT)), providing at least a first sample (S₁) of the oscillator output signal (S_(OUT)) at the first point in time (t₁) based on the first delay signal (S_(DLY1)) and a second sample (S₂) of the oscillator output signal (S_(OUT)) at the second point in time (t₂) based on the second delay signal (S_(DLY2)), providing a sampler signal (S_(SAMPL)) by interpolating the first sample (S₁) and the second sample (S₂), and controlling the oscillator output signal (S_(OUT)) based on the sampler signal (S_(SAMPL)); wherein the first ideal sampling instant is different from the second ideal sampling instant. 